﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace SAMPRO.Web.GFC
{
    public class gfcAppConfig
    {
        private gfcAppConfig()
        {
        }
        public static string gfcSiteId
        {
            get {
                return (string)HttpContext.Current.Application["gfcSiteID"];
            }
        }
        public static string GetGfcSiteId(HttpApplicationState App)
        {
            return (string)App["gfcSiteID"];
        }
        public static string gfcApiUrl
        {
            get
            {
                return (string)HttpContext.Current.Application["gfcApiUrl"];
            }
        }
        public static string GetGfcApiUrl(HttpApplicationState App)
        {
            return (string)App["gfcApiUrl"];
        }
        public static string gfcOAuthKey
        {
            get
            {
                return (string)HttpContext.Current.Application["gfcOAuthKey"];
            }
        }
        public static string GetGfcOAuthKey(HttpApplicationState App)
        {
            return (string)App["gfcOAuthKey"];
        }
        public static string gfcOAuthSecret
        {
            get
            {
                return (string)HttpContext.Current.Application["gfcOAuthSecret"];
            }
        }
        public static string GetGfcOAuthSecret(HttpApplicationState App)
        {
            return (string)App["gfcOAuthSecret"];
        }
    }
}